<script setup lang="ts">
import { ref,onMounted } from 'vue'
import {queryTopicsByPage} from "@/api/test";

interface IMsg {
  msg:string
}
defineProps<IMsg>()

onMounted(() => {
  queryTopicsByPage({page:1,limit:10}).then(res=>{
    console.log(res)
  })
})

const count = ref(0)
</script>

<template>
  <div>
        <div id="qrcode" style="display: none;"></div>
        <canvas ref="qrcodeRef"></canvas>
    </div> 
</template>

<style scoped>
.read-the-docs {
  color: #888;
}
</style>
